package com.cnswhy.cloud.server.core.service.spell;

import com.cnswhy.cloud.common.core.base.service.SuperService;
import com.cnswhy.cloud.server.core.entity.SpellOrder;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 业务接口
 * 
 * </p>
 *
 * @author cnswhy
 * @date 2020-09-30
 */
public interface SpellOrderService extends SuperService<SpellOrder> {
     int queryCustomerSpellOrder(SpellOrder bo);
     BigDecimal querySpellSuccessMoney(String settDate);
     BigDecimal querySpellSuccessMoneyAndSpellProduct(String settDate);
     List<SpellOrder> getSpellingOrder(String spellOrderId,Integer status);
     List<SpellOrder> getSpellingOrderBySendStatus(String spellOrderId,Integer status);
     List<SpellOrder> getSpellingOrderIsPrivilege(String spellOrderId,Integer status);

     void updateNewSpellOrderId(String spellOrderId, String newSpellOrderId);
     BigDecimal getUndealSumAmount();

}
